package com.tensquare.base.pojo;
/*
 *ClassName:City
 *Description:城市类
 *@author:可爱的大鸭子
 */

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Entity
@Table(name="tb_city")
public class City implements Serializable{
    @Id
    private String id;      //城市id,标识主键
    private String name;    //城市名称
    private String ishot;   //是否热门

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIshot() {
        return ishot;
    }

    public void setIshot(String ishot) {
        this.ishot = ishot;
    }
}
